package com.xxh.dataaccess.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

import lombok.Data;

/**
 * (MovieRes)表实体类
 *
 * @author makejava
 * @since 2021-03-13 21:58:51
 */
@SuppressWarnings("serial")
@Data
public class MovieRes extends Model<MovieRes> {
    //电影ID
    private Integer mid;
    //播放地址
    private String url;


    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.mid;
    }
}
